
<!--主体部分-->
<section class="main">
    <div class="main-inner">
        <div class="bs-cont home">
            <section class="bc-middle  clearfix">
                <!--左侧信息-->
                <div class="qb-left fl">
                    <p class="title fs20">阅读排行榜</p>
                    <div class="kj4">
                        <ul class="list-item">
                            <?php foreach($hotlist as $k=>$rows):?>
                            <?php $segment = [
                                'help',
                                'content',
                                $rows['tid'],
                                $rows['id']
                            ];?>
                            <li><span <?php if($k==0): ?>class="cur1 fl"<?php elseif($k==1): ?>class="cur1 fl"<?php elseif($k==2): ?>class="cur1 fl"<?php else: ?>class="fl"<?php endif; ?>></span><a href="<?=site_url($segment)?>"><?=$rows['title']?></a></li>
                            <?php endforeach; ?>
                        </ul>	
                    </div>
                </div>
                <!--右侧信息-->
                <div class="qb-right fr">
                    <div class="article-list">
                        <?php foreach($articlelist as $rows): ?>
                        <div class="row row1 clearfix">
                            <?php $segment = [
                                'help',
                                'content',
                                $rows['tid'],
                                $rows['id']
                            ];?>
                            <a href="<?=site_url($segment)?>">
                                <div class="col col-words fl">
                                    <p class="tit fs20"><?=$rows['title']?></p>
                                    <p class="paragraph fs16"><?=$rows['brief']?></p>
                                    <p class="info fs16"><span><?=$rows['createtime']?></span><span>信息来源： <?=$rows['author']?></span><span>阅读次数：<?=$rows['readamount']?></span></p>
                                </div>
                                <div class="col col-pic fr">
                                    <img src="<?=base_url()?><?=$rows['thumb']?>" />
                                </div>
                            </a>
                        </div>
                        
                        <?php endforeach; ?>
                        
                    <div class="page">
                        <ul>
                            <?=$this->pagination->create_links()?>
                        </ul>
                    </div>
                </div>
            </section>
        </div>
    </div>
</section>
